<!DOCTYPE html>
<html>
<head>
	<title></title>
	 <script src="assets/js/jquery.min.js"></script>
</head>
<body>
<input id="a" type="text"/>
<span id="b"></span>
<div id="content">
  
</div>
  <script id="test" type="text/html">  
            {{if isAdmin}}  
                <h1>{{title}}</h1>  
                <ul>  
                    
                </ul>  
            {{/if}}  
        </script>  
  
</body>
   <script src="assets/js/template-web.js"></script>

<script type="text/javascript">
        var obj={};
        Object.defineProperty(obj,'hello',{
            set:function (newval){
                $("#a").val(newval);
                $("#b").text(newval);
            }
        })
       	document.addEventListener('keyup',function(e){
       		obj.hello=e.target.value;
       	})
        
       

</script>
</html>
